package com.neuedu.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class Account {
       @JsonIgnore
    private int id;
       private String name;
       private double money;
       @JsonFormat(pattern="yyy-mmm-dd HH:mm:ss")
    private Date date;
}
